package arithmetic.duotai;

public class Father {

    public void method() {
        System.out.println("father method");
    }

    public void methodFather() {
        System.out.println("methodFather");
    }
}

class SonA extends Father {

    @Override
    public void method() {
//        super.method();
        System.out.println("sonA");
    }

}

class SonB extends Father {

    @Override
    public void method() {
//        super.method();
        System.out.println("sonB");
    }
}
